package com.erp.app.sendMail.web;

import java.util.HashMap;

import com.erp.framework.web.SimpleForm;

public class SendEmailForm extends SimpleForm{
    private String subject;
    private String body;
    private HashMap params = new HashMap();
    private String cc;
    private String bcc;
    private String showCC;
    private String showBCC;
    private String from;
    private String to;
    private String mailTemplate;
    private String hidsubject;
    
    
    
    
    
    
    
    //The following two values are for email window.open one link issue
    private String hideHtmlDefaultBody;
    private String hideTxtDefaultBody;

    public String getHideHtmlDefaultBody() {
		return hideHtmlDefaultBody;
	}
	public void setHideHtmlDefaultBody(String hideHtmlDefaultBody) {
		this.hideHtmlDefaultBody = hideHtmlDefaultBody;
	}
	public String getBcc() {
        return bcc;
    }
    public void setBcc(String bcc) {
        this.bcc = bcc;
    }
    public String getBody() {
        return body;
    }
    public void setBody(String body) {
        this.body = body;
    }
    public String getCc() {
        return cc;
    }
    public void setCc(String cc) {
        this.cc = cc;
    }
    public String getFrom() {
        return from;
    }
    public void setFrom(String from) {
        this.from = from;
    }
    public HashMap getParams() {
        return params;
    }
    public void setParams(HashMap params) {
        this.params = params;
    }
    public String getShowBCC() {
        return showBCC;
    }
    public void setShowBCC(String showBCC) {
        this.showBCC = showBCC;
    }
    public String getShowCC() {
        return showCC;
    }
    public void setShowCC(String showCC) {
        this.showCC = showCC;
    }
    public String getSubject() {
        return subject;
    }
    public void setSubject(String subject) {
        this.subject = subject;
    }
    public String getTo() {
        return to;
    }
    public void setTo(String to) {
        this.to = to;
    }

    public void resetForm(){
        this.to = "";
        this.bcc = "";
        this.cc = "";
        this.showBCC = "";
        this.showCC = "";
        this.subject = "";
        this.body = "";
        this.params = null;
        this.from = "";



    }
    public String getMailTemplate() {
        return mailTemplate;
    }
    public void setMailTemplate(String mailTemplate) {
        this.mailTemplate = mailTemplate;
    }
    public String getHidsubject() {
        return hidsubject;
    }
    public void setHidsubject(String hidsubject) {
        this.hidsubject = hidsubject;
    }
	public String getHideTxtDefaultBody() {
		return hideTxtDefaultBody;
	}
	public void setHideTxtDefaultBody(String hideTxtDefaultBody) {
		this.hideTxtDefaultBody = hideTxtDefaultBody;
	}
	

}
